<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="images/logo.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>一洲货运有限公司</title>
<link href="css/default.css" rel="stylesheet" type="text/css" />
<link href="css/index.css" rel="stylesheet" />
<link href="css/icons/icon.css" rel="stylesheet" type="text/css"  />
<link href="css/jquery-easyui-theme/default/easyui.css" rel="stylesheet" type="text/css" />
<link href="css/icons/icon-all.css" rel="stylesheet" type="text/css" />
<script src="jquery-easyui-1.3.6/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="jquery-easyui-1.3.6/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="jquery-easyui-1.3.6/locale/easyui-lang-zh_CN.js" type="text/javascript" charset="utf-8"></script>
<script src='js/indextab.js' type="text/javascript" charset="utf-8"> </script>
<script src="js/ChineseCalendar.js" type="text/javascript" charset="utf-8"></script>
<script src="Exteasyui/onCollapse.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.jdirk.js" type="text/javascript" charset="utf-8"></script>
<script src="Exteasyui/jeasyui.extensions.js" type="text/javascript" charset="utf-8"></script>
<script src="Exteasyui/jeasyui.extensions.tree.js" type="text/javascript" charset="utf-8"></script>
<script src="Exteasyui/jeasyui.extensions.theme.js" type="text/javascript" charset="utf-8"></script>
<script src="js/index.js" type="text/javascript"></script>
   
<script type="text/javascript" charset="utf-8">
	var _menus = {
	"menus": [
	{
		"menuid": "1",
		"icon": "icon-sys",
		"menuname": "统计概况",
		"menus": [{
			"menuid": "11",
			"menuname": "调度总单",
			"icon": "icon-lorrygo",
			"url": "demo/entry/entrymanage.html",
		},
		{
			"menuid": "12",
			"menuname": "运单状态",
			"icon": "icon-lorryflatbed",
			"url": "demo/entry/statusmanage.html",
		},
		{
				"menuid": "13",
				"menuname": "在途跟踪",
				"icon": "icon-mapgo",
				"url": "demo/status/statusfollow.html"
		}]
	},
	{
		"menuid": "1",
		"icon": "icon-sys",
		"menuname": "会员分析",
		"menus": [{
			"menuid": "11",
			"menuname": "转化率",
			"icon": "icon-lorrygo",
			"url": "demo/entry/entrymanage.html",
		},
		{
			"menuid": "12",
			"menuname": "激活率",
			"icon": "icon-lorryflatbed",
			"url": "demo/entry/statusmanage.html",
		},
		{
				"menuid": "13",
				"menuname": "新增会员",
				"icon": "icon-mapgo",
				"url": "demo/status/statusfollow.html"
		},
		{
				"menuid": "13",
				"menuname": "活跃会员",
				"icon": "icon-mapgo",
				"url": "demo/status/statusfollow.html"
		}]
	},
	{
		"menuid": "2",
		"icon": "icon-sys",
		"menuname": "热点分析",
		"menus": [{
			"menuid": "11",
			"menuname": "目的港",
			"icon": "icon-lorrygo",
			"url": "demo/entry/entrymanage.html",
		},
		{
			"menuid": "12",
			"menuname": "航线",
			"icon": "icon-lorryflatbed",
			"url": "demo/entry/statusmanage.html",
		},
		{
				"menuid": "13",
				"menuname": "船公司",
				"icon": "icon-mapgo",
				"url": "demo/status/statusfollow.html"
		}]
	},
	{
		"menuid": "3",
		"icon": "icon-foldertable",
		"menuname": "基础资料",
		"menus": [{
			"menuid": "31",
			"menuname": "部门管理",
			"icon": "icon-group",
			"url": "demo/department/department.html"
		},
		{
			"menuid": "32",
			"menuname": "员工管理",
			"icon": "icon-useredit",
			"url": "demo/employee/employee.html",
			
		},
		{
			"menuid": "31",
			"menuname": "客户管理",
			"icon": "icon-usercomment",
			"url": "demo/driver/driver.html"
		},
		{
			"menuid": "33",
			"menuname": "基础信息",
			"icon": "icon-tablemultiple",
			"url": "demo/information/information.html"
		}]
	},
	{
		"menuid": "4",
		"icon": "icon-box",
		"menuname": "系统设置",
		"menus": [{
			"menuid": "41",
			"menuname": "角色管理",
			"icon": "icon-groupkey",
			"url": "demo/role/role.html"
		},
		{
			"menuid": "42",
			"menuname": "系统设置",
			"icon": "icon-serveredit",
			"url": "demo/systemset/systemset.html",
		},
		{
			"menuid": "43",
			"menuname": "操作日志",
			"icon": "icon-log",
			"url": "demo/entry/import.html",
		}]
	}]
};


        function freshAD(){
        var AdHtml="<font color='red'>当前时间："+new Date().format("hh:mm:ss")+"&nbsp;&nbsp;今天是："+getChineseCalendar()+"</font>";
		//var AdHtml="<font color='red'>现在时间："+new Date().format("hh:mm:ss")+"</font>";
        $("#opt_info").panel({title:AdHtml});
        setTimeout("freshAD()",500);
        }

        //设置登录窗口
        function openPwd() {
            $('#w').window({
                title: '修改密码',
                width: 300,
                modal: true,
                shadow: true,
                closed: true,
                height: 180,
                resizable:false
            });
        }
        //关闭登录窗口
        function closePwd() {
            $('#w').window('close');
        }

        

        //修改密码
        function serverLogin() {
            var $newpass = $('#txtNewPass');
            var $rePass = $('#txtRePass');

            if ($newpass.val() == '') {
                msgShow('系统提示', '请输入密码！', 'warning');
                return false;
            }
            if ($rePass.val() == '') {
                msgShow('系统提示', '请再一次输入密码！', 'warning');
                return false;
            }

            if ($newpass.val() != $rePass.val()) {
                msgShow('系统提示', '两次密码不一致！请重新输入', 'warning');
                return false;
            }

            $.post('/ajax/editpassword.ashx?newpass=' + $newpass.val(), function(msg) {
                msgShow('系统提示', '恭喜，密码修改成功！<br>您的新密码为：' + msg, 'info');
                $newpass.val('');
                $rePass.val('');
                close();
            })
            
        }

        $(function() {
             freshAD();
             openPwd();
            $('#editpass').click(function() {
                $('#w').window('open');
            });

            $('#btnEp').click(function() {
                serverLogin();
            })

			$('#btnCancel').click(function(){closePwd();})

            $('#loginOut').click(function() {
                $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {

                    if (r) {
                        //location.href = '/ajax/loginout.ashx';
						location.href = 'login.html';
                    }
                });
            })
        });
		
		

    </script>
</head>
<body >
<div id="maskContainer">
        <div class="datagrid-mask" style="display: block;"></div>
        <div class="datagrid-mask-msg" style="display: block; left: 50%; margin-left: -52.5px;">
            正在加载...
        </div>
</div>
<noscript>
<div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;"> <img src="images/noscript.gif" alt='抱歉，请开启脚本支持！' /> </div>
</noscript>
<div id="mainLayout" class="easyui-layout hidden" data-options="fit: true">
<div id="northPanel" region="north" split="true" border="false" style="overflow: hidden; height: 30px;
        background: url(images/layout-browser-hd-bg.gif) #7f99be repeat-x center 50%;
        line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体"> 
		<span style="float:right; padding-right:20px;padding-top:1px;" class="head">欢迎 admin <a id="editpass" class="easyui-linkbutton" data-options="plain: true, iconCls: 'icon-hamburg-user'">修改密码</a> <a id="loginOut" class="easyui-linkbutton" data-options="plain: true, iconCls: 'icon-hamburg-sign-out'">安全退出</a><a id="btnFullScreen" class="easyui-linkbutton" data-options="plain: true, iconCls: 'icon-standard-arrow-inout'">全屏</a></span> 
		<span style="padding-left:10px; font-size: 16px; "><img src="images/logo.png" width="20" height="20" align="absmiddle" /> 宁波一洲货代报价及客户行为分析系统</span>
</div>

 
<div region="west" split="true" title="导航菜单" data-options="iconCls:'icon-monitor'"  style="width:180px;" id="west">
  <div id="nav">
    <!--  导航内容 -->
  </div>
</div>
<div id="opt_info" border="true" region="center" title=""  style="background: #eee; overflow-y:hidden">  
  <div id="tabs" class="easyui-tabs"  fit="true" border="false" style="overflow:hidden" scroll="no">
    <div title="欢迎使用" data-options="iconCls:'icon-house',fit:true" style="padding:20px;overflow:hidden; color:red; " > 
      <!-- <h1 style="font-size:24px;"><img src="images/logo.png" width="50" height="50" align="absmiddle" /> 一洲货运有限公司欢迎您</h1> -->
      <div>
      	<span><img style="width: 80%; height: 80%" src="images/customersource.png"/></span>
      </div>
      <div></div>
    </div>
  </div>
</div>
<div data-options="region: 'south', title: '关于...', iconCls: 'icon-standard-information', collapsed: true, border: false" style="height: 70px;">
            <div style="color: #4e5766; padding: 6px 0px 0px 0px; margin: 0px auto; text-align: center; font-size:12px; font-family:微软雅黑;">
                Copyright@ 宁波市一洲货运有限公司&nbsp;&nbsp;浙ICP备<a href="http://www.miibeian.gov.cn/">06009160</a>号
                <br />
                建议使用&nbsp;
                <a href="http://windows.microsoft.com/zh-CN/internet-explorer/products/ie/home" target="_blank" style="text-decoration: none;">IE(Version 9/10/11)</a>/
                <a href="https://www.google.com/intl/zh-CN/chrome/browser/" target="_blank" style="text-decoration: none;">Chrome</a>/
                <a href="http://firefox.com.cn/download/" target="_blank" style="text-decoration: none;">Firefox</a>
                &nbsp;系列浏览器。
                <script type="text/javascript">
                    var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
                    document.write(unescape("%3Cspan id='cnzz_stat_icon_5654850'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s9.cnzz.com/stat.php%3Fid%3D5654850%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));
                </script>
            </div>
</div>
 
<!--修改密码窗口-->
<div id="w" class="easyui-window" closed="true" title="修改密码" collapsible="false" minimizable="false"
        maximizable="false" style="width: 300px; height: 150px; padding:20px 10px 20px 30px;
        background: #fafafa;">
  <form>
    
      <table>
        <tr>
          <td>新密码：</td>
          <td><input id="txtNewPass" type="password" class="txt01" /></td>
        </tr>
        <tr>
          <td>确认密码：</td>
          <td><input id="txtRePass" type="password" class="txt01" /></td>
        </tr>
      </table>
   
    <div style="padding:5px;text-align:center;"> 
    <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" >确定</a> 
    <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a> 
    </div>
  </form>
</div>
<div id="mm" class="easyui-menu" style="width:150px;">
  <div id="refresh" data-options="iconCls:'icon-tabrefresh'">刷新</div>
  <div class="menu-sep"></div>
  <div id="close" data-options="iconCls:'icon-tabdelete'">关闭</div>
  <div id="closeall" data-options="iconCls:'icon-cancel'">全部关闭</div>
  <div id="closeother" data-options="iconCls:'icon-cancelsmall'">除此之外全部关闭</div>
  <div class="menu-sep"></div>
  <div id="closeright" data-options="iconCls:'icon-tabcloseright'">当前页右侧全部关闭</div>
  <div id="closeleft" data-options="iconCls:'icon-tabcloseleft'">当前页左侧全部关闭</div>
  <div class="menu-sep"></div>
  <div id="exit">退出</div>
</div>
</div>
</body>
</html>
